package com.zyk.scaffold.tcp.disruptor;

import com.lmax.disruptor.EventFactory;

public class LocalEventFactory implements EventFactory<DisruptorMessage> {

    @Override
    public DisruptorMessage newInstance() {
        return new DisruptorMessage();
    }
    public static LocalEventFactory creatEventFactory() {
        return new LocalEventFactory();
    }
}
